<?php

namespace Tests\Feature;

use Tests\TestCase;

class PersonControllerTest extends TestCase
{
  public static function setUpBeforeClass(): void
  {
    self::$model = 'App\Models\Person';
    self::$table = 'people';
    self::$searchExpr = 'name=[lk]Francisco';
    self::$searchRecord = ['user_id', '=', '1'];
    self::$toIns = [
      'user_id' => 3,
      'name' => 'Iris',
      'surname' => 'West',
      'sex' => 'F',
      'birthdate' => '02/10/1990',
      'birthplace' => 'Central City',
      'fiscalcode' => '987',
    ];
    self::$searchToUpd = ['user_id', '=', '3'];
    self::$toUpd = ['birthplace' => 'Coast City'];
    self::$searchToDel = ['user_id', '=', '3'];
  }
}
